package com.mingserve.raw.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mingserve.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 设备表
 *
 * @author lvwshuai
 * @date 2024-02-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("phm_equipment")
public class Equipment  extends BaseEntity
{
    /** 设备编码 */
    @TableId(value = "equipment_code")
    private String equipmentCode;
    /**
     * 设备层级
     * 10 设备级设备
     * 20 工作机组
     * 30 设备级设备
     */
    private Integer level;
    /** IoT编码 */
    private String deviceCode;
    private String equipmentName;
    private Long equipmentId;
    private Long parentId;
    /** NFC编码 */
    private String nfcCode;
}